package com.whp.yky.yky.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.whp.yky.yky.entity.ShopGoods;
import com.whp.yky.yky.service.ShopGoodsService;
import com.whp.yky.yky.mapper.ShopGoodsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 32682
* @description 针对表【shop_goods】的数据库操作Service实现
* @createDate 2022-01-17 12:18:58
*/
@Service
public class ShopGoodsServiceImpl extends ServiceImpl<ShopGoodsMapper, ShopGoods>
    implements ShopGoodsService{

    @Autowired
    private ShopGoodsMapper shopGoodsMapper ;

    @Override
    public IPage<ShopGoods> getShopGoodsInfo(IPage<ShopGoods> page, ShopGoods shopGoods) {
        return page.setRecords(shopGoodsMapper.getShopGoodsInfo(page,shopGoods));
    }

}




